Skip to content

fix(helm): auto-append appVersion tag to agent images without explicit tag#434

Merged
thepagent merged 2 commits intoopenabdev:mainfrom
JARVIS-coding-Agent:fix/agent-image-auto-tag
Apr 18, 2026
Merged

fix(helm): auto-append appVersion tag to agent images without explicit tag#434
thepagent merged 2 commits intoopenabdev:mainfrom
JARVIS-coding-Agent:fix/agent-image-auto-tag

Conversation

@JARVIS-coding-Agent
Copy link
Copy Markdown
Contributor

Context

Closes #433

When upgrading the Helm chart, agent-specific images (e.g. openab-claude, openab-copilot) do not automatically follow the chart's appVersion. Users must manually specify the full image with tag for each agent on every upgrade, because the openab.agentImage helper treats the agent image field as a raw string with no tag logic.

Summary

Added a contains ":" check in the openab.agentImage helper — if the agent image string has no tag (no colon), auto-append appVersion (or image.tag override). Fully backward compatible.

Changes

  • Modified openab.agentImage in charts/openab/templates/_helpers.tpl
  • Added inner contains ":" branch: if colon present → use as-is (explicit pin); if no colon → auto-append tag
  • Tag source is identical to existing logic: default .ctx.Chart.AppVersion .ctx.Values.image.tag

Behavior

Input Result
image: ghcr.io/.../openab-claude ghcr.io/.../openab-claude:<appVersion>
image: ghcr.io/.../openab-claude:custom ghcr.io/.../openab-claude:custom (unchanged)
No image set <global repository>:<appVersion> (unchanged)

Discord Discussion URL: https://discord.com/channels/1488041051187974246/1494843603103645737

@thepagent thepagent merged commit 97b2c3a into openabdev:main Apr 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Helm chart: auto-append appVersion tag to agent images without explicit tag

2 participants